<?php
use yii\helpers\Html;
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta charset="<?= Yii::$app->charset ?>">
    <title>天添爱系统工具<?php $this->title ? '-' . $this->title : ''?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?= Html::csrfMetaTags() ?>
    <link rel="stylesheet" href="<?= Yii::$app->params['static_domain']?>plugin/bootstrap/bootstrap.css">
    <?php $this->head() ?>
</head>
<body>
    <style type="text/css">
        .control-label{padding-right: 0}
        .help-block{margin-bottom: 0;color: #aaa;font-size: 13px}
        .error-flash{font-size: 15px;color: #f00;padding: 15px}
        .success-flash{font-size: 15px;color: green;padding: 15px}
        .table th{background-color: #669;color: #fff;font-weight: normal;}
        .table th,.table td{padding: 5px !important;font-size: 13px}
    </style>
    <div style="position: relative;">
        <ul class="breadcrumb">
            <li><a href="/tool">系统工具</a></li>
            <?php if ($this->title):?>
            <li class="active"><?= $this->title?></li>
            <?php endif;?>
        </ul>
        <div style="position: absolute;right: 10px;top:0;line-height: 36px;color: red"><?= $_SERVER['SERVER_ADDR']?></div>
    </div>
    
    
<?php $this->beginBody() ?>
    <div style="padding: 12px">
        <?= $content?>
    </div>
<!--[if !IE]> -->
<script src="<?= Yii::$app->params['static_domain']?>plugin/jquery.js"></script>
<!-- <![endif]-->
<!--[if IE]>
<script src="<?= Yii::$app->params['static_domain']?>plugin/jquery2.js"></script>
<![endif]-->
<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>
